package threaddemo;

public class Demo6 {
    public static void main(String[] args) {
        TicketDemo td1 = new TicketDemo("窗口一");
        TicketDemo td2 = new TicketDemo("窗口二");
        td1.start();
        td2.start();
    }
}
